define(function(require){
	var $ = require("jquery");
	var justep = require("$UI/system/lib/justep");
	var ShellImpl = require('$UI/system/lib/portal/shellImpl');
	
	var Model = function(){
		this.callParent();
		
		this.shellImpl = new ShellImpl(this, {
			contentsXid : "pages",
			wingXid : "wing",
			pageMappings : {
				"main" : {
					url : "$UI/hbnews_kankan/main/main.w"
				},
				"left" : {
					url : "$UI/hbnews_kankan/menu/left.w"
				},
				'detail' : {
					url : "$UI/hbnews_kankan/detail.w"
				}
			}
		});
	};

	Model.prototype.modelLoad = function(event){
		this.shellImpl.showPage("main");
		this.shellImpl.loadPage("left");
	};

	return Model;
});